.class public final LPkUwx/KHsTz;
.super LPkUwx/SZZoc;


# static fields
.field public static final EAbKO:LPkUwx/uxZkv;

.field public static final FgGpQ:LPkUwx/uxZkv;

.field public static final IyVdK:LPkUwx/uxZkv;

.field private static final QTZdB:[B

.field public static final cclHM:LPkUwx/uxZkv;

.field private static final fdCHs:[B

.field public static final gTFCr:LPkUwx/uxZkv;

.field private static final vnxBX:[B


# instance fields
.field private final KFyUl:LwFZra/tbdHE;

.field private KddxL:J

.field private final KkItY:LPkUwx/uxZkv;

.field private final RQyUk:LPkUwx/uxZkv;

.field private final kxcTO:Ljava/util/List;


# direct methods
.method static constructor <clinit>()V
    .locals 2

    const/4 v1, 0x2

    const-string v0, "multipart/mixed"

    invoke-static {v0}, LPkUwx/uxZkv;->MGsmf(Ljava/lang/String;)LPkUwx/uxZkv;

    move-result-object v0

    sput-object v0, LPkUwx/KHsTz;->EAbKO:LPkUwx/uxZkv;

    const-string v0, "multipart/alternative"

    invoke-static {v0}, LPkUwx/uxZkv;->MGsmf(Ljava/lang/String;)LPkUwx/uxZkv;

    move-result-object v0

    sput-object v0, LPkUwx/KHsTz;->FgGpQ:LPkUwx/uxZkv;

    const-string v0, "multipart/digest"

    invoke-static {v0}, LPkUwx/uxZkv;->MGsmf(Ljava/lang/String;)LPkUwx/uxZkv;

    move-result-object v0

    sput-object v0, LPkUwx/KHsTz;->cclHM:LPkUwx/uxZkv;

    const-string v0, "multipart/parallel"

    invoke-static {v0}, LPkUwx/uxZkv;->MGsmf(Ljava/lang/String;)LPkUwx/uxZkv;

    move-result-object v0

    sput-object v0, LPkUwx/KHsTz;->gTFCr:LPkUwx/uxZkv;

    const-string v0, "multipart/form-data"

    invoke-static {v0}, LPkUwx/uxZkv;->MGsmf(Ljava/lang/String;)LPkUwx/uxZkv;

    move-result-object v0

    sput-object v0, LPkUwx/KHsTz;->IyVdK:LPkUwx/uxZkv;

    new-array v0, v1, [B

    fill-array-data v0, :array_0

    sput-object v0, LPkUwx/KHsTz;->vnxBX:[B

    new-array v0, v1, [B

    fill-array-data v0, :array_1

    sput-object v0, LPkUwx/KHsTz;->QTZdB:[B

    new-array v0, v1, [B

    fill-array-data v0, :array_2

    sput-object v0, LPkUwx/KHsTz;->fdCHs:[B

    return-void

    nop

    :array_0
    .array-data 1
        0x3at
        0x20t
    .end array-data

    nop

    :array_1
    .array-data 1
        0xdt
        0xat
    .end array-data

    nop

    :array_2
    .array-data 1
        0x2dt
        0x2dt
    .end array-data
.end method

.method constructor <init>(LwFZra/tbdHE;LPkUwx/uxZkv;Ljava/util/List;)V
    .locals 2

    invoke-direct {p0}, LPkUwx/SZZoc;-><init>()V

    const-wide/16 v0, -0x1

    iput-wide v0, p0, LPkUwx/KHsTz;->KddxL:J

    iput-object p1, p0, LPkUwx/KHsTz;->KFyUl:LwFZra/tbdHE;

    iput-object p2, p0, LPkUwx/KHsTz;->RQyUk:LPkUwx/uxZkv;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "; boundary="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {p1}, LwFZra/tbdHE;->RmvNz()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, LPkUwx/uxZkv;->MGsmf(Ljava/lang/String;)LPkUwx/uxZkv;

    move-result-object v0

    iput-object v0, p0, LPkUwx/KHsTz;->KkItY:LPkUwx/uxZkv;

    invoke-static {p3}, LPkUwx/Axwse/NmOez;->NBKZk(Ljava/util/List;)Ljava/util/List;

    move-result-object v0

    iput-object v0, p0, LPkUwx/KHsTz;->kxcTO:Ljava/util/List;

    return-void
.end method

.method static BZgpO(Ljava/lang/StringBuilder;Ljava/lang/String;)Ljava/lang/StringBuilder;
    .locals 4

    const/16 v3, 0x22

    invoke-virtual {p0, v3}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    const/4 v0, 0x0

    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v1

    :goto_0
    if-ge v0, v1, :cond_0

    invoke-virtual {p1, v0}, Ljava/lang/String;->charAt(I)C

    move-result v2

    sparse-switch v2, :sswitch_data_0

    invoke-virtual {p0, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    :goto_1
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :sswitch_0
    const-string v2, "%0A"

    invoke-virtual {p0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    goto :goto_1

    :sswitch_1
    const-string v2, "%0D"

    invoke-virtual {p0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    goto :goto_1

    :sswitch_2
    const-string v2, "%22"

    invoke-virtual {p0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    goto :goto_1

    :cond_0
    invoke-virtual {p0, v3}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    return-object p0

    nop

    :sswitch_data_0
    .sparse-switch
        0xa -> :sswitch_0
        0xd -> :sswitch_1
        0x22 -> :sswitch_2
    .end sparse-switch
.end method

.method private SDdmj(LwFZra/AAVAr;Z)J
    .locals 12

    const-wide/16 v2, 0x0

    const/4 v0, 0x0

    if-eqz p2, :cond_7

    new-instance v0, LwFZra/UulfZ;

    invoke-direct {v0}, LwFZra/UulfZ;-><init>()V

    move-object v1, v0

    move-object p1, v0

    :goto_0
    const/4 v0, 0x0

    iget-object v4, p0, LPkUwx/KHsTz;->kxcTO:Ljava/util/List;

    invoke-interface {v4}, Ljava/util/List;->size()I

    move-result v5

    move v4, v0

    :goto_1
    if-ge v4, v5, :cond_6

    iget-object v0, p0, LPkUwx/KHsTz;->kxcTO:Ljava/util/List;

    invoke-interface {v0, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, LPkUwx/ZOBZi;

    invoke-static {v0}, LPkUwx/ZOBZi;->ZyGVu(LPkUwx/ZOBZi;)LPkUwx/CLKCR;

    move-result-object v6

    invoke-static {v0}, LPkUwx/ZOBZi;->wkKip(LPkUwx/ZOBZi;)LPkUwx/SZZoc;

    move-result-object v7

    sget-object v0, LPkUwx/KHsTz;->fdCHs:[B

    invoke-interface {p1, v0}, LwFZra/AAVAr;->uBlTu([B)LwFZra/AAVAr;

    iget-object v0, p0, LPkUwx/KHsTz;->KFyUl:LwFZra/tbdHE;

    invoke-interface {p1, v0}, LwFZra/AAVAr;->fpoOc(LwFZra/tbdHE;)LwFZra/AAVAr;

    sget-object v0, LPkUwx/KHsTz;->QTZdB:[B

    invoke-interface {p1, v0}, LwFZra/AAVAr;->uBlTu([B)LwFZra/AAVAr;

    if-eqz v6, :cond_0

    const/4 v0, 0x0

    invoke-virtual {v6}, LPkUwx/CLKCR;->NsUHj()I

    move-result v8

    :goto_2
    if-ge v0, v8, :cond_0

    invoke-virtual {v6, v0}, LPkUwx/CLKCR;->EPgrL(I)Ljava/lang/String;

    move-result-object v9

    invoke-interface {p1, v9}, LwFZra/AAVAr;->WyDJW(Ljava/lang/String;)LwFZra/AAVAr;

    move-result-object v9

    sget-object v10, LPkUwx/KHsTz;->vnxBX:[B

    invoke-interface {v9, v10}, LwFZra/AAVAr;->uBlTu([B)LwFZra/AAVAr;

    move-result-object v9

    invoke-virtual {v6, v0}, LPkUwx/CLKCR;->hrryF(I)Ljava/lang/String;

    move-result-object v10

    invoke-interface {v9, v10}, LwFZra/AAVAr;->WyDJW(Ljava/lang/String;)LwFZra/AAVAr;

    move-result-object v9

    sget-object v10, LPkUwx/KHsTz;->QTZdB:[B

    invoke-interface {v9, v10}, LwFZra/AAVAr;->uBlTu([B)LwFZra/AAVAr;

    add-int/lit8 v0, v0, 0x1

    goto :goto_2

    :cond_0
    invoke-virtual {v7}, LPkUwx/SZZoc;->lKhzp()LPkUwx/uxZkv;

    move-result-object v0

    if-eqz v0, :cond_1

    const-string v6, "Content-Type: "

    invoke-interface {p1, v6}, LwFZra/AAVAr;->WyDJW(Ljava/lang/String;)LwFZra/AAVAr;

    move-result-object v6

    invoke-virtual {v0}, LPkUwx/uxZkv;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-interface {v6, v0}, LwFZra/AAVAr;->WyDJW(Ljava/lang/String;)LwFZra/AAVAr;

    move-result-object v0

    sget-object v6, LPkUwx/KHsTz;->QTZdB:[B

    invoke-interface {v0, v6}, LwFZra/AAVAr;->uBlTu([B)LwFZra/AAVAr;

    :cond_1
    invoke-virtual {v7}, LPkUwx/SZZoc;->pAovp()J

    move-result-wide v8

    const-wide/16 v10, -0x1

    cmp-long v0, v8, v10

    if-eqz v0, :cond_3

    const-string v0, "Content-Length: "

    invoke-interface {p1, v0}, LwFZra/AAVAr;->WyDJW(Ljava/lang/String;)LwFZra/AAVAr;

    move-result-object v0

    invoke-interface {v0, v8, v9}, LwFZra/AAVAr;->LsSuV(J)LwFZra/AAVAr;

    move-result-object v0

    sget-object v6, LPkUwx/KHsTz;->QTZdB:[B

    invoke-interface {v0, v6}, LwFZra/AAVAr;->uBlTu([B)LwFZra/AAVAr;

    :cond_2
    sget-object v0, LPkUwx/KHsTz;->QTZdB:[B

    invoke-interface {p1, v0}, LwFZra/AAVAr;->uBlTu([B)LwFZra/AAVAr;

    if-eqz p2, :cond_5

    add-long/2addr v2, v8

    :goto_3
    sget-object v0, LPkUwx/KHsTz;->QTZdB:[B

    invoke-interface {p1, v0}, LwFZra/AAVAr;->uBlTu([B)LwFZra/AAVAr;

    add-int/lit8 v0, v4, 0x1

    move v4, v0

    goto/16 :goto_1

    :cond_3
    if-eqz p2, :cond_2

    invoke-virtual {v1}, LwFZra/UulfZ;->eNFAy()V

    const-wide/16 v2, -0x1

    :cond_4
    :goto_4
    return-wide v2

    :cond_5
    invoke-virtual {v7, p1}, LPkUwx/SZZoc;->xPpTE(LwFZra/AAVAr;)V

    goto :goto_3

    :cond_6
    sget-object v0, LPkUwx/KHsTz;->fdCHs:[B

    invoke-interface {p1, v0}, LwFZra/AAVAr;->uBlTu([B)LwFZra/AAVAr;

    iget-object v0, p0, LPkUwx/KHsTz;->KFyUl:LwFZra/tbdHE;

    invoke-interface {p1, v0}, LwFZra/AAVAr;->fpoOc(LwFZra/tbdHE;)LwFZra/AAVAr;

    sget-object v0, LPkUwx/KHsTz;->fdCHs:[B

    invoke-interface {p1, v0}, LwFZra/AAVAr;->uBlTu([B)LwFZra/AAVAr;

    sget-object v0, LPkUwx/KHsTz;->QTZdB:[B

    invoke-interface {p1, v0}, LwFZra/AAVAr;->uBlTu([B)LwFZra/AAVAr;

    if-eqz p2, :cond_4

    invoke-virtual {v1}, LwFZra/UulfZ;->andiF()J

    move-result-wide v4

    add-long/2addr v2, v4

    invoke-virtual {v1}, LwFZra/UulfZ;->eNFAy()V

    goto :goto_4

    :cond_7
    move-object v1, v0

    goto/16 :goto_0
.end method


# virtual methods
.method public NKEXO()I
    .locals 1

    iget-object v0, p0, LPkUwx/KHsTz;->kxcTO:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    return v0
.end method

.method public YAIym()LPkUwx/uxZkv;
    .locals 1

    iget-object v0, p0, LPkUwx/KHsTz;->RQyUk:LPkUwx/uxZkv;

    return-object v0
.end method

.method public YzwUt()Ljava/util/List;
    .locals 1

    iget-object v0, p0, LPkUwx/KHsTz;->kxcTO:Ljava/util/List;

    return-object v0
.end method

.method public ixIfe(I)LPkUwx/ZOBZi;
    .locals 1

    iget-object v0, p0, LPkUwx/KHsTz;->kxcTO:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, LPkUwx/ZOBZi;

    return-object v0
.end method

.method public lDfCh()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, LPkUwx/KHsTz;->KFyUl:LwFZra/tbdHE;

    invoke-virtual {v0}, LwFZra/tbdHE;->RmvNz()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public lKhzp()LPkUwx/uxZkv;
    .locals 1

    iget-object v0, p0, LPkUwx/KHsTz;->KkItY:LPkUwx/uxZkv;

    return-object v0
.end method

.method public pAovp()J
    .locals 4

    iget-wide v0, p0, LPkUwx/KHsTz;->KddxL:J

    const-wide/16 v2, -0x1

    cmp-long v2, v0, v2

    if-eqz v2, :cond_0

    :goto_0
    return-wide v0

    :cond_0
    const/4 v0, 0x0

    const/4 v1, 0x1

    invoke-direct {p0, v0, v1}, LPkUwx/KHsTz;->SDdmj(LwFZra/AAVAr;Z)J

    move-result-wide v0

    iput-wide v0, p0, LPkUwx/KHsTz;->KddxL:J

    goto :goto_0
.end method

.method public xPpTE(LwFZra/AAVAr;)V
    .locals 1

    const/4 v0, 0x0

    invoke-direct {p0, p1, v0}, LPkUwx/KHsTz;->SDdmj(LwFZra/AAVAr;Z)J

    return-void
.end method
